﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Tasks;
using System.Reflection;
using WP7Client.Classes;

namespace WP7Client.UserInterface.Pages
{
    public partial class AboutPage : MSHPhoneApplicationPage
    {
        public AboutPage()
        {
            InitializeComponent();
            Assembly asm = Assembly.GetExecutingAssembly();
            AssemblyName assemblyName = new AssemblyName(asm.FullName);
 
            TextBlockVersion.Text = "Version " + assemblyName.Version;
        }

        private void HyperlinkButton_Click(object sender, RoutedEventArgs e)
        {
            WebBrowserTask webBrowserTask = new WebBrowserTask(); 
            webBrowserTask.URL = "http://mysocialhub.codeplex.com"; 
            webBrowserTask.Show(); 
        }
    }
}